package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 考核规则对象 asses_rule
 *
 * @author ruoyi
 * @date 2024-04-22
 */
public class AssesRule extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id主键 */
    private Long id;

    private Integer orderNum;

    /** 规则名称 */
    @Excel(name = "规则名称")
    private String assesRuleName;

    /** 人员初始分 */
    @Excel(name = "人员初始分")
    private String initialScore;

    /** 有效年限 */
    @Excel(name = "有效年限")
    private String effectiveTerm;

    /** 组织类型 */
    private String deptType;

    /** 状态 0:正常 1:过期  */
    @Excel(name = "状态 0:正常 1:过期 ")
    private String status;

    /** 删除标志（0删除 1存在） */
    private String delFlag;

    /** 创建人名字 */
    private String createName;

    /**
     *  分页页数
     */
    private Integer pageNum;

    /**
     *  分页条数
     */
    private Integer pageSize;

    /**
     *  系统规则
     */
    private List<AssesRuleSystem> assesRuleSystemList;

    /**
     *  人工规则
     */
    private List<AssesRuleArtificial> assesRuleArtificialList;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setAssesRuleName(String assesRuleName)
    {
        this.assesRuleName = assesRuleName;
    }

    public String getAssesRuleName()
    {
        return assesRuleName;
    }
    public void setInitialScore(String initialScore)
    {
        this.initialScore = initialScore;
    }

    public String getInitialScore()
    {
        return initialScore;
    }
    public void setEffectiveTerm(String effectiveTerm)
    {
        this.effectiveTerm = effectiveTerm;
    }

    public String getEffectiveTerm()
    {
        return effectiveTerm;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }
    public void setCreateName(String createName)
    {
        this.createName = createName;
    }

    public String getCreateName()
    {
        return createName;
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }

    public List<AssesRuleSystem> getAssesRuleSystemList() {
        return assesRuleSystemList;
    }

    public void setAssesRuleSystemList(List<AssesRuleSystem> assesRuleSystemList) {
        this.assesRuleSystemList = assesRuleSystemList;
    }

    public List<AssesRuleArtificial> getAssesRuleArtificialList() {
        return assesRuleArtificialList;
    }

    public void setAssesRuleArtificialList(List<AssesRuleArtificial> assesRuleArtificialList) {
        this.assesRuleArtificialList = assesRuleArtificialList;
    }

    public String getDeptType() {
        return deptType;
    }

    public void setDeptType(String deptType) {
        this.deptType = deptType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("assesRuleName", getAssesRuleName())
            .append("initialScore", getInitialScore())
            .append("effectiveTerm", getEffectiveTerm())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createName", getCreateName())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
